package com.jiazhong.spring;

import org.junit.jupiter.api.Test;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * @Auther:shuXin
 */
public class TestUserDao {
    @Test
    public void test01(){
        ApplicationContext ac =  new ClassPathXmlApplicationContext("bean.xml");
        UserDao userDao = ac.getBean(UserDao.class);
        userDao.run();
    }
}
